package com.jiazhong.aop.calculator;

import org.junit.jupiter.api.Test;

/**
 * @Auther:shuXin
 */
public class CalculatorTest {
    @Test
    public void test01(){
        ProxyFactory proxyFactory = new ProxyFactory(new CalculatorImpl());
        Calculator proxy = (Calculator) proxyFactory.getProxy();
        proxy.add(5,6);
    }
}
